Version

SortMergeGeneric<T>(List<T>,IComparer<T>) Method

Sorts the passed in list based on the passed in comparer using a modified merge-sort algorithm.
Syntax
'Declaration
 
Public Overloads Shared Sub SortMergeGeneric(Of T)( _
   ByVal list As List(Of T), _
   ByVal comparer As IComparer(Of T) _
) 
public static void SortMergeGeneric<T>( 
   List<T> list,
   IComparer<T> comparer
)

Parameters

list
The list to be sorted.
comparer
The comparer (must not be null).

Type Parameters

T
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also